<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="embroot.css">
<TITLE>
Operations on ECLiPSe Data
</TITLE>
</HEAD>
<BODY >
<A HREF="embroot077.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="embroot073.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="embroot079.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2 CLASS="section"><A NAME="htoc143">C.5</A>&nbsp;&nbsp;Operations on ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP> Data</H2>
Interfaces to some basic operations on ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP> Data.
<DL CLASS="description" COMPACT=compact><DT CLASS="dt-description">
<B>int		ec_compare(const pword pw1, const pword pw2)</B><DD CLASS="dd-description"><BR>
	Similar to the compare/3 built-in predicate:
	returns 0 if the arguments are identical,
	a negative number if pw1 is smaller than pw2,
	and a positive number if pw1 is greater than pw2
	in the standard term ordering.<BR>
<BR>
<DT CLASS="dt-description"><B>int		ec_schedule_suspensions(pword,int)</B><DD CLASS="dd-description"><BR>
	Similar to the
	<A HREF="../bips/kernel/suspensions/schedule_suspensions-2.html"><B>schedule_suspensions/2</B></A><A NAME="@default391"></A>
	built-in predicate.
	Waking will only happen once control is returned to ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP>
	and the wake/0 predicate is invoked.
	Return code is PSUCCEED or an error code.<BR>
<BR>
<DT CLASS="dt-description"><B>int		ec_free_handle(const pword, const t_ext_type*)</B><DD CLASS="dd-description"><BR>
	checks whether pw is an ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP> external data handle of the
	expected type, and calls its free-method. After doing that, the
	handle is stale and cannot be used any longer. Calling this function
	on an already stale handle silently succeeds.
	Return code is PSUCCEED or an error code.</DL>
<HR>
<A HREF="embroot077.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="embroot073.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<A HREF="embroot079.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
